package cn.acheng1314.springboot2.dto

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.io.Serializable

/**
 * 房源信息保存对象
 */
@ApiModel(value = "楼盘新闻")
open class HouseNewsDTO : Serializable {

    @ApiModelProperty(required = true, value = "楼盘id", example = "9999")
    var houseId: Long? = null
    /**
     * 新闻标题
     */
    @ApiModelProperty(required = true, value = "新闻标题", example = "新闻标题")
    var title: String? = null
    /**
     * 新闻内容
     */
    @ApiModelProperty(required = true, value = "新闻内容", example = "新闻内容")
    var content: String? = null
    /**
     * 媒体文件地址
     */
    @ApiModelProperty(required = true, value = "媒体文件地址", example = "媒体文件地址")
    var video: String? = null
    /**
     * 备注
     */
    @ApiModelProperty(required = true, value = "备注", example = "这是测试信息")
    var remark: String? = null

    override fun toString(): String {
        return "HouseNewsDTO(houseId=$houseId, title=$title, content=$content, video=$video, remark=$remark)"
    }


}